package com.note.simpleshop.module.goods.dao;

import com.note.simpleshop.entity.TbSpec;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SpecRepository extends JpaRepository<TbSpec, String>, JpaSpecificationExecutor<TbSpec> {
    List<TbSpec> findByGoodsId(String goodsId);
}
